﻿using MongoDB.Bson;

namespace Entities.Entities
{
    public class Region:BaseEntity
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { set; get; }

        /// <summary>
        /// 父级
        /// </summary>
        public ObjectId Parent { set; get; }

        /// <summary>
        /// 字母索引
        /// </summary>
        public string IndexWord { set; get; }

        /// <summary>
        /// 权重
        /// </summary>
        public int Weight { set; get; }

        /// <summary>
        /// 区号
        /// </summary>
        public string AreaCode{set;get;}

        /// <summary>
        /// 邮编
        /// </summary>
        public string ZipCode { set; get; }
    }
}
